package com.growthsee.rider.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 附件
 * </p>
 *
 * @author csy
 * @since 2021-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RiderAttachment对象", description="附件")
public class RiderAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty("课程名称")
    private String name;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;



    @ApiModelProperty("删除状态（0.正常1.删除）")
    private Integer deleted;

    @ApiModelProperty("文件大小")
    private long size;

    @ApiModelProperty("文件类型")
    @TableField("contentType")
    private String contentType;

    @ApiModelProperty("文件后缀")
    private String suffix;
    @ApiModelProperty("文件系统key")
    private String keyValue;
    @ApiModelProperty("业务id")
    private String businessId;


}
